package com.my.main.service.device.serviceImpl;

import com.my.main.base.mapper.BaseMapper;
import com.my.main.base.service.Impl.BaseServiceImpl;
import com.my.main.entity.device.Device;
import com.my.main.mapper.device.DeviceMapper;
import com.my.main.service.device.DeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class DeviceServiceImpl extends BaseServiceImpl<Device> implements DeviceService {
    @Autowired
    private DeviceMapper deviceMapper;
    @Resource(name= "deviceMapper")
    public void setBaseMapper(BaseMapper<Device> deviceMapper) {
        super.setBaseMapper(deviceMapper);
    }
}
